Optimal. Leaf size=44 \[ -\frac{A b-a B}{3 b^2 \left (a+b x^2\right )^{3/2}}-\frac{B}{b^2 \sqrt{a+b x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0329654, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {444, 43} \[ -\frac{A b-a B}{3 b^2 \left (a+b x^2\right )^{3/2}}-\frac{B}{b^2 \sqrt{a+b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 444
Rule 43
Rubi steps
\begin{align*} \int \frac{x \left (A+B x^2\right )}{\left (a+b x^2\right )^{5/2}} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{A+B x}{(a+b x)^{5/2}} \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \left (\frac{A b-a B}{b (a+b x)^{5/2}}+\frac{B}{b (a+b x)^{3/2}}\right ) \, dx,x,x^2\right )\\ &=-\frac{A b-a B}{3 b^2 \left (a+b x^2\right )^{3/2}}-\frac{B}{b^2 \sqrt{a+b x^2}}\\ \end{align*}
Mathematica [A] time = 0.0226032, size = 34, normalized size = 0.77 \[ \frac{-2 a B-A b-3 b B x^2}{3 b^2 \left (a+b x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 30, normalized size = 0.7 \begin{align*} -{\frac{3\,bB{x}^{2}+Ab+2\,Ba}{3\,{b}^{2}} \left ( b{x}^{2}+a \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.41398, size = 68, normalized size = 1.55 \begin{align*} -\frac{B x^{2}}{{\left (b x^{2} + a\right )}^{\frac{3}{2}} b} - \frac{2 \, B a}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}} b^{2}} - \frac{A}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}} b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.5358, size = 111, normalized size = 2.52 \begin{align*} -\frac{{\left (3 \, B b x^{2} + 2 \, B a + A b\right )} \sqrt{b x^{2} + a}}{3 \,{\left (b^{4} x^{4} + 2 \, a b^{3} x^{2} + a^{2} b^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.06531, size = 143, normalized size = 3.25 \begin{align*} \begin{cases} - \frac{A b}{3 a b^{2} \sqrt{a + b x^{2}} + 3 b^{3} x^{2} \sqrt{a + b x^{2}}} - \frac{2 B a}{3 a b^{2} \sqrt{a + b x^{2}} + 3 b^{3} x^{2} \sqrt{a + b x^{2}}} - \frac{3 B b x^{2}}{3 a b^{2} \sqrt{a + b x^{2}} + 3 b^{3} x^{2} \sqrt{a + b x^{2}}} & \text{for}\: b \neq 0 \\\frac{\frac{A x^{2}}{2} + \frac{B x^{4}}{4}}{a^{\frac{5}{2}}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09832, size = 43, normalized size = 0.98 \begin{align*} -\frac{3 \,{\left (b x^{2} + a\right )} B - B a + A b}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}} b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]